package com.yanfu.mapper;

import com.yanfu.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Authour Zhang Yanfu
 * @Date 2018/1/27.
 * @Email 1105564280@qq.com
 * @WeChat zyfJava
 */
@Mapper
public interface StudentMapper {
   @Select("SELECT * FROM STUDENT WHERE id = #{id}")
    public Student getStuById(@Param("id") int id);
}

